package list: use RepositoryInterface->hasPackage()