!addgroup: Optional parameters were breaking things if not present.

Signed-off-by: Martin Stone <martin@d7415.co.uk>