builder: Fix coverity warning
builder: Fix coverity warning

If type is NULL we should never look at it.

GeorgesStavracas/flatpak,matthiasclasen/flatpak,GeorgesStavracas/flatpak,flatpak/flatpak,handsome-feng/flatpak,handsome-feng/flatpak,GeorgesStavracas/flatpak,flatpak/flatpak,flatpak/flatpak,matthiasclasen/flatpak,GeorgesStavracas/flatpak,GeorgesStavracas/flatpak,flatpak/flatpak,flatpak/flatpak,handsome-feng/flatpak,handsome-feng/flatpak,handsome-feng/flatpak,matthiasclasen/flatpak,matthiasclasen/flatpak,matthiasclasen/flatpak