Fix bug in listing of base packages