Don't call readlines on stderr which is a string object.
Merge pull request #862 from opscode/OC-8697

Yum package calls readlines on a string.