zsh: _git_prompt_info: if HEAD is detached, display only commit hash