At a minimum, you need to do a `putIfAbsent` here and handle the case when the method could not add it because there was already a workspace with that name. See earlier comment about deciding upon a policy.