programmatically access pkgutil