do not fail if render_plugin is called with an empty plugin