stage2: add support for root pkg

Fix some infinite recursions, because the code assumed that packages
cannot point to each other. But this assumption does not hold anymore.
a97efbd185Timon Kruiper committed on 4/8/2021, 12:23:18 PMparentfb16cb9
2 files changedLine totals unavailable