Add support for yum > 3.0.