[BUGFIX] Re-scan packages for PackageStates generation