pass proper virtual file to the checker
(cherry picked from commit 0a4bbf3)