match.line is undefined for full file errors

Catch match.line being set undefined for full file errors and setting it to line 0 by default.