Fix the metro paths for files detected as nodejs
Fix the metro paths for files detected as nodejs

Summary: Fix the path lookup for files to be considered to run in nodejs.

Reviewed By: mjesun

Differential Revision: D7685278

fbshipit-source-id: c921d40b60d795820448842aec464e7ff82b6eab

pandiaraj44/react-native,exponentjs/react-native,pandiaraj44/react-native,janicduplessis/react-native,myntra/react-native,myntra/react-native,hammerandchisel/react-native,janicduplessis/react-native,pandiaraj44/react-native,hoangpham95/react-native,facebook/react-native,facebook/react-native,hammerandchisel/react-native,facebook/react-native,arthuralee/react-native,javache/react-native,facebook/react-native,hoangpham95/react-native,exponent/react-native,exponentjs/react-native,hoangpham95/react-native,myntra/react-native,exponentjs/react-native,hoangpham95/react-native,facebook/react-native,myntra/react-native,janicduplessis/react-native,janicduplessis/react-native,arthuralee/react-native,exponent/react-native,exponent/react-native,facebook/react-native,arthuralee/react-native,exponentjs/react-native,pandiaraj44/react-native,javache/react-native,pandiaraj44/react-native,exponent/react-native,hammerandchisel/react-native,exponent/react-native,javache/react-native,myntra/react-native,janicduplessis/react-native,hammerandchisel/react-native,myntra/react-native,hoangpham95/react-native,janicduplessis/react-native,exponent/react-native,facebook/react-native,exponentjs/react-native,javache/react-native,exponentjs/react-native,pandiaraj44/react-native,myntra/react-native,hammerandchisel/react-native,facebook/react-native,hammerandchisel/react-native,exponent/react-native,hoangpham95/react-native,javache/react-native,exponentjs/react-native,hoangpham95/react-native,arthuralee/react-native,javache/react-native,exponentjs/react-native,hammerandchisel/react-native,hammerandchisel/react-native,javache/react-native,exponent/react-native,pandiaraj44/react-native,janicduplessis/react-native,myntra/react-native,arthuralee/react-native,javache/react-native,myntra/react-native,javache/react-native,facebook/react-native,pandiaraj44/react-native,hoangpham95/react-native,janicduplessis/react-native