fix cornera case in PS1/git combo