We already had a getPackageInfo, but it wasn't the proper one with flags so that our new code could use it.