added test for multi-arch support

- dpkg-query doesn't recognize 'binary:Package' as a format variable
- if dpkg --print-foreign-architectures fails, change to old format
cleaner way to hide output from the command

cleaner than writing to a pipe I never access, woops