swh.loader.tests: Use snapshot_get_all_branches in check_snapshot
This migrates to stop using old snapshot-get. This allows to use more Snapshot objects for checks!
This also fixes build [1]
Test Plan
tox
Migrated from D3744 (view on Phabricator)