Ensure working_dir is set before exists? check