bexport: Add a common exit label to check_netgroup()