Fix regression when uplading app bits

Old cloud controllers doesn't support uploading app bits asynchronously,
so they return an empty reponse (insted of the job guid). In that case,
don't pool until the upload has finished (old behaviour).