FAssetRegistryState::GetPackagesByName

Gets the LongPackageNames for all packages with the given PackageName.