Correctly distinguish absolute URLs from paths

This is a slightly weird thing to put in the root namespace. `Transition::PathOrUrl` maybe?