CB-5909 Fixed issue where check-reqs skipped checking logic on second pass-through

- Removed dependency on npm in init scripts for product builds
- Skip logic if _BOTH_ variables are set