Fixed failure when module was not registered in modules section, but present in bundle.