Generates the package2AncestorIds scratch org property
the scratchOrgInfo passed in by the user
sfProjectJson
the hub org, in case we need to do queries
Generates the package2AncestorIds scratch org property