Do no override a local variable, this leads to problem when building multiple projects

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Adjust dgroc to work with the new version of copr

The new copr return multiple ids when submitting multiple src.rpm
With this commit we can cope with both the old and the new behavior