Only check for rewriting metadata if we have a read on repomd.xml