init: Substitute invalid package names with `foo`

Closes #23066
711b0fef58Carl Åstholm committed on 3/4/2025, 7:42:00 AM· committed by Andrew Kelleyparent13757aa
1 file changedLine totals unavailable