add extra check for updating yum cache
Merge pull request #1930 from wayneeseguin/feature/implement_1942

RVM does not know how to install 'libyaml-devel' on Fedora 19