This script compared paths relative to the report directory to test for exclusion,
meaning the directory exclusions did not work properly, as they were relative to
the project root.
Fix this by creating absolute paths through the combination of:
'git ls-files --full-name'and 'git rev-parse --show-toplevel'
This is a backport of core#15258 [1/2]