I'm explicitly only handling the case where a name is not provided at all. If a user has a reason to pass in an empty value as the name, this will let them.