Trying to access an undefined constant now raises a NameError