Fixes #340 (Appium Doctor throwing exceptions in version 1.2.0)
Merge pull request #346 from edgy360/master

Fix #340 (Appium Doctor throwing exceptions in version 1.2.0)