Use `pacman -Q` correctly to check for package name and version
Merge pull request #227 from Nowaker/feature/arch-linux-package-installed

Use `pacman -Q` correctly to check for package name and version