Simplify PATH_INFO fallback

The current path_info fallback is a bit tough to read, a `strtok` call is simpler: it always returns the query-string-less URI.