setup_git_directory_gently: do not barf when GIT_DIR is given.