fix misc yum errors in rpmcache script