This function finds the package directory in the project that matches the given packageId
The SfProject instance to search
The package ID to match against
A NamedPackageDir or empty object if not found
This function finds the package directory in the project that matches the given packageId