fix error handling for repodata files
This code was silently ignoring HTTP errors when using requests to fetch
repodata files. We didn't notice, because the tests only cover the case
where the entire *repo* (including repomd.xml) is unreachable.
Change-Id: Icc33e2767aed54492e9d2511b90408e6bac6051d