[wasm] Fix logic for getting path to WASM binary. (#3764)
[wasm] Fix logic for getting path to WASM binary. (#3764)

BUG

tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs