fix(utils): try_to_load_from_cache now correctly handles refs/pr revisions (#1316)
* fix(utils): try_to_load_from_cache now correctly handles refs/pr type revisions
* just read the file
* formatting
* add test
* formatting
* formatting
* make style
---------
Co-authored-by: Lucain Pouget <lucainp@gmail.com>