Might be good to add a diagnostic logging (under GIT debug scope) here to understand what kind of path is initialized with ChangedFile instance.