repl: do not define wasi on global with no flag
#45595
Merged
wasi on global with no flag
#45595