rbtools (libvirtualenv.sh): Use bash; exit on error; handle CDPATH

Reported by Evan Jones <ejones@twitter.com>

Reviewed at https://rbcommons.com/s/twitter/r/892/