Handle disabled modules in the module loader