Improve the algorithm for searching for a Berksfile

Fixes https://github.com/berkshelf/vagrant-berkshelf/issues/235
We can't do this logic here because we don't have access to the `machine` (and thus the root_path) during finalizing. Thus we need to manipulate these values during validation.