tests: Fix numerous tests after recent changes in loader-core
BaseLoader.load now returns a dict with an extra error field when a loading fails.
See https://jenkins.softwareheritage.org/job/DENV/job/tests/758/artifact/swh-loader-git.log
BaseLoader.load now returns a dict with an extra error field when a loading fails.
See https://jenkins.softwareheritage.org/job/DENV/job/tests/758/artifact/swh-loader-git.log