do not run cleanup unless the dir exists