Fix handling of default path conf in plugin script
In the plugin script we set the setting default.path.conf to control the path to the configuration file. But the default directory might not exist in which case we can run into exceptions. This commit restores a guard against this directory not existing.