Style fixes for registry/registry.go

No logic was changed