Reduce overhead when fetching branch name for bzr