Trivial fix for node v0.10.x compat

Fix for a change in url.parse() where it now returns all it's object properties by default, even if null.