(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x

Closes #352