Fix handling of multiple double dots above root in parsing of relative URI