Add preflight sanity check to upgrade-prep.sh

Before starting the upgrade, make sure all the packages are there.

This will help us avoid half-assed upgrades in cases where the DVD (or
other media) doesn't get mounted properly.

This fixes #15 on github.