The comment in the code says enough:
/* Make sure the registration is unique */
The name you try to use has already been registered.