Add check for modems availability

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Merge pull request #134 from nizovn/modems

Add check for modems availability