librepo: use the new Repo and RepoDict.