Modify the package validation accordingly to the new changes