Updated filepath usage.
Added second null check.
Added vagrant files for test server provisioning.

[skip ci]