Make sure we wait for undo import completion before proceeding.

Caused intermittent failures
Merge pull request #318 from candlepin/wottop/wait_for_undo_import

Make sure we wait for undo import completion before proceeding.