add getClient method to PackageManager