Check for vagrant more reliably