Always do a git config --get, and have a better fallback in case you can't find the name of the repo