Ran into a case where url2pathname spit out unicode resulting in exception, so this fixes it
issue #1135 catch regexp failure exception in metadata module and soldier on