[TASK] Fix PackageStates.php for builds
Merge pull request #535 from cedricziel/fixPackageStates

[TASK] Fix PackageStates.php for builds