do not handle malformed paths better

#1844

I'm not taking a responsibility to say how express should behave in the cases that should never happen, so go flip a coin or something. :)