BIND 9.16 needs Python and PLY packages for configure to succeed. Unless we want to tweak the build script to exclude python, we need to add python3-ply package to the CodeQL configuration.
(cherry picked from commit 0622d113)
Backport of MR !7405 (merged)