dpkg_util: Redirect stderr to /dev/null when performing query