Fix dependencies script when its running with dev=false
Fix dependencies script when its running with dev=false

Reviewed By: alp

Differential Revision: D6307190

fbshipit-source-id: 21f339ff9c24d58df2630cd6b957e7539880f001

kesha-antonov/react-native,janicduplessis/react-native,kesha-antonov/react-native,javache/react-native,exponent/react-native,arthuralee/react-native,Bhullnatik/react-native,Bhullnatik/react-native,facebook/react-native,myntra/react-native,ptmt/react-native-macos,javache/react-native,Bhullnatik/react-native,facebook/react-native,rickbeerendonk/react-native,janicduplessis/react-native,myntra/react-native,ptmt/react-native-macos,hammerandchisel/react-native,hammerandchisel/react-native,jevakallio/react-native,janicduplessis/react-native,ptmt/react-native-macos,pandiaraj44/react-native,rickbeerendonk/react-native,hammerandchisel/react-native,myntra/react-native,janicduplessis/react-native,kesha-antonov/react-native,facebook/react-native,exponentjs/react-native,exponent/react-native,exponentjs/react-native,exponentjs/react-native,exponent/react-native,myntra/react-native,ptmt/react-native-macos,dikaiosune/react-native,Bhullnatik/react-native,facebook/react-native,exponentjs/react-native,facebook/react-native,javache/react-native,hoangpham95/react-native,ptmt/react-native-macos,rickbeerendonk/react-native,kesha-antonov/react-native,rickbeerendonk/react-native,dikaiosune/react-native,pandiaraj44/react-native,hoastoolshop/react-native,hammerandchisel/react-native,javache/react-native,javache/react-native,javache/react-native,dikaiosune/react-native,kesha-antonov/react-native,Bhullnatik/react-native,rickbeerendonk/react-native,javache/react-native,Bhullnatik/react-native,hoastoolshop/react-native,exponent/react-native,arthuralee/react-native,rickbeerendonk/react-native,kesha-antonov/react-native,jevakallio/react-native,hammerandchisel/react-native,jevakallio/react-native,janicduplessis/react-native,facebook/react-native,hammerandchisel/react-native,arthuralee/react-native,janicduplessis/react-native,exponentjs/react-native,javache/react-native,hoangpham95/react-native,dikaiosune/react-native,jevakallio/react-native,dikaiosune/react-native,ptmt/react-native-macos,myntra/react-native,kesha-antonov/react-native,jevakallio/react-native,hoastoolshop/react-native,ptmt/react-native-macos,jevakallio/react-native,myntra/react-native,facebook/react-native,pandiaraj44/react-native,hoastoolshop/react-native,hoangpham95/react-native,hoastoolshop/react-native,dikaiosune/react-native,janicduplessis/react-native,exponent/react-native,jevakallio/react-native,ptmt/react-native-macos,myntra/react-native,hammerandchisel/react-native,rickbeerendonk/react-native,pandiaraj44/react-native,arthuralee/react-native,facebook/react-native,hoangpham95/react-native,rickbeerendonk/react-native,jevakallio/react-native,hoangpham95/react-native,facebook/react-native,pandiaraj44/react-native,arthuralee/react-native,exponent/react-native,pandiaraj44/react-native,hoastoolshop/react-native,exponent/react-native,exponentjs/react-native,hoastoolshop/react-native,hoangpham95/react-native,Bhullnatik/react-native,kesha-antonov/react-native,hoangpham95/react-native,janicduplessis/react-native,exponentjs/react-native,Bhullnatik/react-native,pandiaraj44/react-native,hammerandchisel/react-native,hoangpham95/react-native,myntra/react-native,dikaiosune/react-native,javache/react-native,exponent/react-native,hoastoolshop/react-native,exponentjs/react-native,rickbeerendonk/react-native,pandiaraj44/react-native,dikaiosune/react-native,kesha-antonov/react-native,myntra/react-native,jevakallio/react-native