Bug #1010339: uploading all repo content before generating metadata.

https://bugzilla.redhat.com/show_bug.cgi?id=1010339

Related katello changes:  https://github.com/Katello/katello/pull/3177