[FrameworkBundle] Fixed cache clear command with relative file refs

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12893 
| License       | MIT
| Doc PR        | -

It's a quick fix for the clear cache command issue. Maybe it is not the best solution, but works for me and maybe worth merging until somebody can come up something better.