The DifferentialChangeset getOldStatePathVector() method assumes oldFile and filename are set.
This worked under PHP <= 8.0, but fails for PHP >= 8.1 with error messsage
strlen(): Passing null to parameter #1 ($string) of type string is deprecated
Fixes T15517