Make __rebash_git_relative_branch less restrictive.