Fix distortion of URIs to avoid assuming /home/user