CGIV-4304: delete the invalid config files once everything has finished