Remove unnecessary call to get_current_registry in NullRendererHelper