Actually: what about using `isIgnoredDir($subnode)` instead?