Fix error-checking for running Vagrant.