in src/main/java/org/apache/sling/jcr/packageinit/impl/ExecutionPlanRepoInitializer.java [118:121]
private static List<String> filterCandidates(List<String> epCandidates, Set<Integer> executedHashes) {
// only add those candidates which have not been processed yet
return epCandidates.stream().filter(candidate -> !isCandidateProcessed(candidate, executedHashes)).collect(Collectors.toList());
}