test: fixed typo in check-upstream-version.js

Changed `exit(1)` to `process.exit(1)` to remove crash in case when slc's npm
is behind the upstream.