Fix logic issue if not using GITHUB_TEAM_IDs