packages: added getPackageRequirements() method