Fix in RelativePathAdapter

Sometimes `totalDirectoriesUp - (relativePathIsInSourceDirectory ? 0 : _directoriesDown.Length)` can be == -1, and `Enumerable.Range()` throws exception