Fix dot in application name also for sub generator

- same problem as before [https://github.com/jhipster/generator-jhipster/pull/205], but for the sub generator