Fix imports for files in registry source

For source files of the registry itself, change the imports to use relative paths.