Move removing of obsolete metadata to repomd.xml cache event