SEARCH_DISABLED_REPOS
if (repo->disabled && !(flags & SEARCH_DISABLED_REPOS))
if (!di->repo || (di->repo->disabled && !(di->flags & SEARCH_DISABLED_REPOS)))