zsh: fix git prompt for non-regular branch states