HPCC-12320 Modified configgen -machines to only produce nodes with hpcc components

This is actually the crux of the problem.  isHPCCNode and isSqlOrLdap are both initially set to false.   If the iterator it is invalid because the pEnv->getElements() returns no matches, then we never enter the ForEach loop.  This means that on line 612 when the old code did "if (!isHPCCNode && isSqlOrLdap) we would have both still as false, which would cause us to print out the machines with no Software/computer matches.