make sure the repo name is always lowercase in require.rpm.repo()