Actually check for the disconnect before using it. Fixes: CID 1042357 See: http://scan.coverity.com/projects/580

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Merge branch 'master' of github.com:nemomobile/usb-moded