Use accessor instead of instance variable for `Agent.team` attribute
Merge branch 'fix_team_id_detection' of github.com:mhupman/cupertino into fix_team_id_detection

* 'fix_team_id_detection' of github.com:mhupman/cupertino:
  Use accessor instead of instance variable for `Agent.team` attribute