d2b2ad3 [lit][test] Attempt fix when paths include symlink

Authored and Committed by James Henderson 2 years ago
    [lit][test] Attempt fix when paths include symlink
    
    Example of failure:
    https://lab.llvm.org/staging/#/builders/126/builds/345/steps/5/logs/FAIL__lit___use-tool-search-env_py