guests/linux: try `id -g` to determine group as well [GH-2197]