Fixes beatfactor/nightwatch#168 issues when passing null for sessionId to Selenium 2.42.x