Fix for thor setup config file generation.