Make the GID_NONE define a little safer.