Fix clean-all used in BATCH mode

Previously, clean_all() had a test that would prevent actual removal
when run in BATCH mode. mkdir -p still succeeded, causing no error to be
thrown.