ReAdd has_children variable that got lost during refactoring.

Two differen pull requests: #931 and #935 altered the Fork cache
building process. This commit fixes a line that got lost while fixing
merge confilicts.