Fixed checking of whether virtualenvwrapper exists

In response to https://github.com/robbyrussell/oh-my-zsh/issues/2210.

Do note, there may be a better/proper way of doing it, I am not a bash magician.