Fixes #3854 - exception on loading an uninstalled module
Merge pull request #65 from tstrachota/3854_module_loading

Fixes #3854 - exception on loading an uninstalled module