The RevFilter above asserts if a commit without a parsed body is ever parsed to include().  RevWalk.next() doesn't state any requirement that the it returns a parsed commit.  However, I can go ahead and another check here as well to make sure that next() also provides a commit with a parsed body.