ah, my patch doesn’t fix the issue. The path seems to be needed for programs executed in pre/upg/post scripts from the packages or possibly dpkg-configure.
Not that the module should not use get_bin_path, alas, that is not the source of the errors, but I’ll still submit the patch.
I’m torn between considering it a packager bug (use full paths or builtins!) or distro bug (sudo should have sbin paths defined, they’ve always had).