Fix commit fd83bf - add treewalk success check.