Check if modem device exists in smstools script