Update for the new type of snapshot_get_branches in swh-storage > 0.13.0
It will start returning SnapshotBranch objects instead of dicts.
Depends on !1013 (closed)
Related: T645
Test Plan
tests will fail until swh-storage!982 (closed) is landed and released.
Migrated from D3741 (view on Phabricator)