fix invalid syntax for rpm.repolist()