Fix regression in git prompt