swh-storage.swh.storage.cassandra.storage.snapshot_get_branches and swh-storage.swh.storage.postgresql.storage.snapshot_get_branches implement the same interface.
Their return values not always match, 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.