I think that you are correct.
I think your lack of certainty may have stemmed from your not thinking that it is funny. It isn't funny. In fact, it is a super corny joke. That may have been the point.
By the way, the Louis Sachar book Holes is very good. I would recommend it to an English language learner.