prevent null dereference if no network device is selected in dev9
Merge pull request #52 from Bigpet/master

Dev9 plugin - prevent null dereference if no device is set