fix regex to avoid problems with repomd.xml