Support abbreviated branch name.