Move correcting the config path to before we create the config object