[BUGFIX] Cache missing class information only in productive context