This version of Unity is unsupported.

PackageInfo.name

Switch to Manual
public string name;

Description

Unique name of the package.