Grab packages repository if missing.

For true one command tests, we'll need to grab the packages repository if it
is missing.