Revise error message for things that aren't trees.