gen-upload.sh: stop with error when there are duplicates

10 jobs for SE-fix-generating-gen-upload-fileinfo in 175 minutes and 17 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build:ar71xx.generic #4339
docker

00:29:41

passed build:ar71xx.tiny #4338
docker

00:12:34

passed build:ath79 #4344
docker

00:09:57

passed build:ipq40xx #4345
docker

00:12:25

passed build:lantiq #4343
docker

00:12:16

passed build:ramips #4342
docker

00:43:54

passed build:sunxi #4346
docker

00:11:04

passed build:x64 #4341
docker

00:27:14

passed build:x86 #4340
docker

00:14:07

 
  Deploy
passed build:finish #4347
docker

00:01:59