MsBuild and TAP issue provider currently have a ValidateFilePath method which checks that file is part of the repository and handles absolute and relative paths.
This method could be provided on BaseIssueProvider to be available to all issue provider / report formats