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

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