Fix path trimming for relative content.