[PATCH 01/14] dm: core: Avoid registering an invalid tree in oftree_ensure()