f83dc043fb
Bugfixes: - Fix the crash for when the root tree has no children (Richard Hughes) - Fix the crash when getting the element for the [empty] root (Richard Hughes) - Install xb-tool into bindir (Richard Hughes)