When searching for branches in an existing snapshot, a PartialBranches
object must be returned regardless the number of found branches.
None should only be returned when a snapshot does not exist.
This fixes an inconsistency between the postgresql and cassandra
This will also fix that webapp reported issue.
Related to T3413