Oops, typos related with fix for #605.
Fix bug introduced when name is coerced to the registry name.