This version of Unity is unsupported.

PackageInfo.registry

public PackageManager.RegistryInfo registry;

Description

The registry from which the Package Manager obtained this package.

The value is null if PackageInfo.source is not PackageSource.Registry.