Quality is pulled from the parent instead of the added item when the turret is created. I'd recommend making a v1.0 of this mod with the equipment entity passed in instead of just the name. That or make a v0.1.7 that allows for manually specifying the quality without breaking old mods if they automatically update their dependencies.