minor refactorings in PluginRunner's __setitem__