Avoid null-deref of argNodes
Avoid null-deref of argNodes

Sometimes `argNodes` may be null causing
```
"TypeError: Cannot read property 'length' of null
    at .../node_modules/tern/lib/def.js:668:17"
```
Added check to prevent this error

eranif/tern,eranif/tern,eranif/tern