kmodloader: properly handle modules with both underscores and dashes in their name