Get unique packages (at most one package of each name), with aliases resolved and removed.
PackageInterface[]
public function getCanonicalPackages();