Make path splitting relative