Removes the repo directive and makes team groups.