Tighten check for HAE repos

Just an empty directory is not enough, there should be
repomd metadata in there. so check for the availability
of the metadata.