Handle the fact that git config gives non-zero exit code if the config is not set.