[TIMOB-15842] Fixed bug with 'npm outdated' returning a version of 'missing'.

Also removed warning if detect Java version is 1.7 or newer.