Fix typo in as-url implementation for Path