Allow to get contexts even if platformVersion is not set through arguments

I haven't run any appium test, only appium ruby ones. But the fix is pretty straightforward, it seems all should be fine.