base.install: Moving rebuild_db

Since we do package installation in add_satellite_repository, we need to
rebuild the db first to avoid mismatching version between host & chroot.