browse: Fix pagination links display issue in branches / releases views
When a snapshot contains a branch or a release alias, the display of pagination links in the branches / releases view could be missing due to an invalid test in the branches/releases view implementation.
See https://archive.softwareheritage.org/browse/origin/https://github.com/torvalds/linux/releases/ showcasing the issue fixed in that diff.
Migrated from D2920 (view on Phabricator)