Check for /vagrant dir rather than hostname

it's simpler and doesn't rely on an ambiguous hostname