Issue/stable/22529 package query should not warn for later versions of dpkg query

This is a fix for an issue @yom found in PR #1909 affecting later Debian versions of dpkg-query (1.16+)