Make paths relative only if they start the same.