prep: filter out pretest branch from candidates for reference clone
When running the prep for a production branch,
_select_reference_directory
will be invoked. If a checkout for the
branch cut pretest branch (branch_cut_pretest
) is present on disk,
this will confuse utils.parse_wmf_version
and make it fail
Bug: T350065