tests: Fix loader git instantiation
Fixes build [1]
[1] https://jenkins.softwareheritage.org/job/DVAU/job/tests/807/console