Better logic for getting team alises for teams/*