Fix failing upload task.