On build_only don't clean state dirs