Fix another ad-hoc construction of the upload base_url