fix add team repos bug