This version of Unity is unsupported.

PackageInfo.type

Switch to Manual
public string type;

Description

Type of the package.