Ensure virtual packages are up-to-date when autorestarting