Fix __vex_list_virtualenvs to be compatible with macOS/BSD
Fix __vex_list_virtualenvs to be compatible with macOS/BSD

`dirname` on macOS/BSD only supports one pathname, while `basename`
supports multiple.

See rouge8/vex@c22bef1.

rouge8/dotfiles,rouge8/dotfiles,rouge8/dotfiles