Handle disabled modules in the module loader (see #7380)