add support for $(getent group)

I'm almost embarrased to push this... anyway, here it is