- fixed split createTmpTree, return if lstat returns undef