fixed #734 making reifier robust against an undeclared type which happened to exist in the cache somewhere.