Correctly set resource has for packages