Performance improvement: get the PackageInfo when iterating through the ResolveInfo list instead of getting the package names and then looping through the package names to get the PackageInfo. No need to do a whole 'nother loop.