Improved pact repository spec for find_previous_distinct_pact