Handle requests without paths causing issues

This is a patch to work around certain requests that appear to skip
declaring the `path` in their request (so addressing the main root with
metadata).

These triggered an alternative code branch where a `String` was being
inspected for a `URI#path` causing an issue.