Fix the return value of `ModuleLoader::getDisabled()` (see #5726)