Obey the 'test_ref' config value and don't use unique branch names
Load the merge_sha at beginning of try_advance

Fixes exceptions being thrown during calls to fresh when examening
PENDING PRs