This version of Unity is unsupported.

PackageInfo.resolvedPath

public string resolvedPath;

Description

The local path of the project on disk.

The path points to the local directory containing the resolved package.