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 regen-repo call after imports in the buildmetadata plugin script to ensure koji is ready to use.