modem-manager: Only try to get the branch if there exists an AT port
modem-manager: Only try to get the branch if there exists an AT port

Fixes https://github.com/fwupd/fwupd/issues/4190

fwupd/fwupd,fwupd/fwupd,fwupd/fwupd,fwupd/fwupd