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.
Merge pull request #351 from dirkmueller/release/stoney/master

Tighten check for HAE repos