fix moduleName else block

Old version of this code use a compiler issue (parent trait can't evaluate parent object for manifest constants.)
this patch need for correct D-Programming-Language/dmd#1960 tests passing