fix errors when running integration test for repo update tool on fedora 19

This patch tweaks a change for using the latest yum API.
Change-Id: Ieb368ac8a600f2eb4e1647fccb6883b98344bfc3