Refactor domgen to handle when generators are defined but do not run and thus do not create the directories