Add check for modems availability

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>