I got that when I made a had a custom factiosn unit set to PEASANT rather than CUSTOM# in the unitprod file.

I didn't get that using the mod yesterday. What faction does in happen for?