(#21272) Refactor created directory from 'puppet module generate'
Currently the created directory is 'username-modulename'.
This patch changes this to 'modulename' because that's mostly used.
This is a new PR since #1711 broke the tests
Hopefully with this one i managed to fix the tests as well.