Fixup determination of config path.