Add check source to external commands / check result reader.

Fixes #5615