Fix profile discovery for CompOS.

Files in CompOS are in special folders, so we need to rewrite the paths
before opening the files. A recent refactoring (aosp/2550992) broke it.
This CL is the fix.

Bug: 279232817
Bug: 269230245
Test: atest ComposHostTestCases
Change-Id: Ib732e76bdee486f658666a578028640cdeb143c1
1 file changed