Correctly set the team slug if name is empty