Yeah, that's one of those documented 'Thank God he cut it' moments.
Another one I'm glad wasn't included was the so-called 'Crazy Yoda' sequence, where Yoda covered himself in mud and twigs to escape the Clonetroopers. Thankfully he just shimmied up Chewie's back instead.