Submitted https://github.com/appium/appium/pull/727