Make sure getgrnam() only returns the gid and not other stuff