Simplify vendored package resolution.
Simplify vendored package resolution.

Independent of whether go mod is used or not, simply
strip off vendor directory prefix from both imports
and excludes if it was found.

kisielk/errcheck