MDL-65957 repository_upload: Throw exception if @_file_upload is missing