OpenBSD/pkg_tools: check for empty -Q query