Fixing branch display to support newer versions of git.