Fix bug with branches not showing properly in PS1