Fix mapping of relative paths