Fixes for GITHUB_TEAM_ID optional check

Note you have to short-circut the env check, otherwise you run team_access? and construct a broken API request.