Normalize process.argv array when use electron or nwjs and it production build. Usually production build has one argument less