makes purge use base_work_dir over basedir