fix error when generationcode has no package
Merge branch 'master' of https://github.com/fujaba/SDMLib