Update code that checked for :nil nodes

The :nil nodes were removed in Parser 2.0.0.beta6.