pacman-g2: Remove -Qg bug returning nothing.
pacman-g2: Partial fix for -Q -p not returning a list.
pacman-g2: Fix -Qo invocation code.
libpacman: Fix -Q pkgname.
pacman-g2: Reindent previous code changes.