In Geoserver.publish_tables, use retrieved layer names for featuretype names, not just the shapefile basename.