Fix for vagrant boxes

When the script gets provisioned on a vagrant box, the current home
directory is root, which is not what we want. So, if the vagrant option
is put in from the vagrantfile then this will be installed into
/home/vagrant instead of  vagrant/root.