Page MenuHomeSoftware Heritage

Fix the inconsistency between snapshot_get_branches function in and
Open, NormalPublic

Description and implement the same interface.
The "snapshot_get_branches function" is inconsistent between these two implementations.

postgresql storage could return None whereas the cassandra storage always returns a data structure. Fix this inconsistency.

This fix will cause unit tests to fail in swh-web.