The cli issue has been fixed and we no longer need to work around it. This is essentially reverting #23470. PR Close #28012
yarn build
check-env
test-pwa-score[-localhost]