dashboard: Fix refs on links to trigger pipelines
In some cases the dashboard generated links to trigger new pipelines
with an empty ref because it was usign a non-existign name
property
on the branch in the report, which is just a string.
See for instance the retrigger
link on https://infrastructure.pages.apertis.org/dashboard/#pkg-fuse-exfat