pkg-[r]query: Add %q to display architecture

Fixes #639