Only get the branch name, not the full ref