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 #352 from dirkmueller/master

Tighten check for HAE repos