In buildtoc, convert do_manifest() to returning a scalar.