browse/snapshot_context: Better handle missing revision edge case
It exists some cases (nix and guix origins for instance) when a snapshot branch targets a revision that is missing in the archive.
So ensure to remove Web UI components related to missing objects (revision and directory) as they will lead to errors when following the links they contain.
Migrated from D6230 (view on Phabricator)