Fix regression from commit 8fe677820fae2 to apply safe dpkg-buildpackage defaults
Fix regression from commit 8fe677820fae2 to apply safe dpkg-buildpackage defaults

If a debian git tree doesn't provide debian/source/format then
the dpkg 1.0 format is assumed. The 1.0 format needs according
dpkg-buildpackage defaults (-i -I), otherwise the .git tree
gets included in the tarball.

Development sponsored by Sipwise GmbH, recorded as
TT#13353 in customers' ticket system.

Fixes 8fe677820fae2a195e2dccace10b19edde8dc200
Thanks: Guillem Jover for feedback and code review

wikimedia/operations-debs-jenkins-debian-glue,wikimedia/operations-debs-jenkins-debian-glue,linuxmaniac/jenkins-debian-glue,kartikm/jenkins-debian-glue,hashar/jenkins-debian-glue,linuxmaniac/jenkins-debian-glue,mika/jenkins-debian-glue,kartikm/jenkins-debian-glue,hashar/jenkins-debian-glue,mika/jenkins-debian-glue