This is probably the wrong place; should be checked in `doConfigSubmit` for parity with `Job`. (Perhaps both should be checking the `ProjectNamingStrategy` in both places, to catch also CLI usages. Or perhaps this logic should be moved up into `AbstractItem`, though that has no `doConfigSubmit`.)

Reminds me that the fix of JENKINS-17401 in 9e5817adbbf1b8c258c24281d0f61b40b7507cb3 probably also needs to be ported to `Folder`. Ideally `AbstractItem` would handle more common details like this.