Check that vagrant dir exists before trying to write