Tiny code improvement in plugin load path handling