IDEX-776 : Keep the original folder name in the name of the generated fo...

...lder so that it is compliant with legacy projects using the folder name through classpath