Remove getPath() deprecation in project::scan
Upgrade find-and-replace to use new APIs