Fix for shallow discovery of modules with rlist_classes

Fixes #5