dump: _cleanup_dump should only check the scratch fs if the test required it