swh-pipeline: Retrieve default branch name from variable
requested to merge anlambert/swh-jenkins-jobs:pipeline-retrieve-default-branch-from-variable into master
Some swh packages like provenance use main as default branch name instead of master.