Script no longer crashes when zsh exists but ZSH_VERSION unset or null
Merge pull request #2027 from ischwabacher/patch-1

fix displaying Zsh warnings for "bad" `ZSH_VERSION`s