Comigrate: improved performance when checking package migration with --inst

In this case, we focus on just the package and other relevant packages.