Use dpkg-query, not dpkg

(I really could use an Ubuntu machine for testing.)