rquery -I: Add all expected output and simplify by using pkg_printf(3)

Reported by:	dteske