fix missing flagref entry in serialized module cache