[TASK] Fix PackageStates.php for builds