Hostname fix in uploader init function.