Fix modem port detection