Err on the side of caution, follow rbenv-update method of is_git_repo.