Fix a potential traceback when creation of the plugins conf dir fails

(error during error handling)