scripts: pacman helpers for dealing with groups