revert upstream changes for yum >= 3.0