ctfb: check for failure of ct_version_tree_build()

Missed when this was librarified because the code used to fatal.