Avoid panic when an ast.Node is in a different file.
Avoid panic when an ast.Node is in a different file.

Fixes #59.

lutzky/lint,tmc/lint,kovetskiy/lint,darkliquid/lintci,zimmski/lint,golang/lint,gorcz/lint,NichoZhang/lint