modtool: fixes case when modulname ends in 0
Merge branch 'maint'