Except that, by RAW, you can target an empty square with a melee or ranged attack (PHB p. 272). In fact, you have to be able to, or there's no way to try to hit invisible creatures. Would you deny the ranger the use of split the tree if there was an invisible enemy on the battlefield, and the...