Vagrant: update APT index before installing packages

The bootstrap script fails when the APT index in the base box
is not up to date, as it will try to install obsolete packages
and get 404 errors.
Merge pull request #1093 from ronnix/fix-vagrant-deployment

Vagrant: update APT index before installing packages