#3310354: test machine name collision against existing themes using stark rather than classy now that classy has been removed from Drupal 10.
Closes #3310354