improved readability of cakefile generator check