prep: fix filter branch in `_select_reference_directory`

The initial list of candidates are absolute paths

Bug: T350065

Merge request reports

Loading