[master] change: Add more APIs in PackageUtils

Change-Id: I5d14432fc4211227d3a30d39f4a631d2f8407430