Add .git to repo name if missing.