Check for existence of config folder before purging.