Avoid unnecessary use of echo

Just invoke dpkg-query and ignore stderr