config: correct form of config object regardless of git repo state