That's not an equivalent change. `projectile-project-ignored-directories` includes the globally ignored directories as well. It should probably be best to introduce a `projectile-project-relative-paths` helper function and simply use it here with `(projectile-project-ignored-directories)` as its argument.