make homebrew work when run via sudo (e.g. inside vagrant)
ensure shell and account for unset $HOME inside vagrant
Vagrantfile cleaned up and working