As of SU7, the package builder cannot successfully build any project that contains a Modules directory. That includes the default StandaloneModule project from the Samples.
Any and all custom packages that include a modules folder all fail to create that folder in the outputted package.
Hopefully this is just a bug and the ability to create a custom module hasn't been removed deliberately?