Update setup_vm.sh

Previous change would break Vagrant builds, put in a check.