1086278 - Convert upload into a polling command.

https://bugzilla.redhat.com/show_bug.cgi?id=1086278

and

https://bugzilla.redhat.com/show_bug.cgi?id=1093011