This patch will first check if the generated configuration folder exists and then delete it, after that it will always create the configuration folder.