Filter archived packages out of the "controlling packages" query earlier
Ref T12319. Currently, we end up filtering archived packages out once for each path. This shows up on a profile from an install as meaningfully expensive:
Instead, filter them out before we do any work.
Viewed a revision, still saw packages.
Reviewed By: chad
Maniphest Tasks: T12319
Differential Revision: https://secure.phabricator.com/D17427