Proper reraise of NameError