fix path of configFile for when SETTINGS_FLAVOR is defined

Before the fix, this little bug will always use the default config.json even if SETTINGS_FLAVOR is defined.