Fix Bug with missing directories in plugins