If the bundle is deleted, `blockstore_cache.get_bundle_version_number(bundle_uuid)` will raise an error. Catch this error in `get_bundle_links`, so the REST api doesn't crash with a 500 error when a linked bundle is deleted.