repomd: better detection of bad xml