Improve the error message we show when we can't find a constant