uri_for is only called with an URI that already has the full path (with prefix/context in place)

This should fix regression introduced in #11 after you can confirm that the argument will only be an URI when called from a request (which already has the full path in place)