completion: correct zsh detection when run from git-completion.zsh