[BUGFIX] Fix PackageStates.php for builds