Fix ZSH_DOTDIR detection