Fixed an error causing modules not to load if no config file was present