Import script bugs

Improving detection of bad links by converting BAD_ARTIFACTS to a list of regexes and searching for matching patterns for each link in order to determine if the link should be disregarded. This simplifies link processing logic.

Also, adding wait-repo call just ahead of calling koji maven-build in the buildmetadata plugin script.