Fixing an issue in the config class with checking multiple places for config files.