Fix for nodejs task

Task will stall during running. Incorrect command used to detect
outdated version.