Fix invalid reference to plugin_dir