Use which instead of looking for the actual binary location. More flexibility, less Lintian garbage.
Per https://lintian.debian.org/tags/command-with-path-in-maintainer-script.html ...
If the path is used to test a program for existence, please use if which $program > /dev/null; then ….