[runtime] Fix a problem introduced by 522663cdfad5860ffbb84b2827b9d0156c4ed623.