Do not depend on errno in the get_group method.