Recursive loop in UrlPrependPath on Mono

Mono on Mac parses "/my-path/" as a valid absolute path, causes recursive loop in UrlPrependPath. Based on the v2.0 branch.