_InstalledRepository
if (repository->IsInstalled() && _InstalledRepository() != NULL)
if ((flags & B_FIND_INSTALLED_ONLY) != 0 && _InstalledRepository() == NULL)
if (_InstalledRepository() == NULL || packages.IsEmpty())
if (_InstalledRepository() == NULL)
RepositoryInfo* _InstalledRepository() const;