Fix AssemblyRegistry singleton creation.
For real.