Fixed bug in creating registration root Thing.

Fixed bug in creating registration root Thing where it wasn't checking
if it already existed.