ensure we don't generate a ::Result for tree commands (cleaner error messages)