Do not create .gitkeep file when creating directory
Merge pull request #1463 from tomaszdurka/issue-1463

CM_Generator: Do not create .gitkeep when creating directories