There is no point to run `ldd` if subsequent `dpkg -S` commands will fail because of running Debian packaging on RPM Linux. Them same is true when doing RPM packaging on Debian system.
Stop invoking `ldd` after the first failure of `dpkg -S` of corresponding RPM command
Stop invoking `ldd` after the first failure of `dpkg -S` of corresponding RPM command