dir: Also handle tagged extension names in find_remote_related and find_local_related
dir: Also handle tagged extension names in find_remote_related and find_local_related

Closes: #1531
Approved by: alexlarsson

matthiasclasen/flatpak,matthiasclasen/flatpak,matthiasclasen/flatpak,matthiasclasen/flatpak,flatpak/flatpak,matthiasclasen/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak