Make sure Vagrant-related nginx tasks are only run when in Vagrant.