Cannot read property x-ua-compatible of null

node v0.13.0-pre url.parse query returns null and getXUACompatibleUrl and getXUACompatibleMetaElement are not checking for this