actually bail out if we can't parse a package/activity
should help with issues like https://github.com/appium/appium/issues/3227
1.3.6