Refactor pathChildren in $finderPatcher