Fix gatsby-cli changes for yarn2 (#27018)
Fix gatsby-cli changes for yarn2 (#27018)

* check for current user agent

* Update packages/gatsby-cli/src/init-starter.ts

Co-authored-by: Maël Nison <a84e838669920473c443c7ebf0be79f6806e28c1@gmail.com>

Co-authored-by: Laurie Barth <8468275f0d120527324004754c3d088324306866@LauriesrkLaptop.fios-router.home>
Co-authored-by: Maël Nison <a84e838669920473c443c7ebf0be79f6806e28c1@gmail.com>
gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby