Making it easier to install Discourse as a PWA

After switching to the stable branch, I can recreate the (known) problem:

But I can’t recreate the problem with the suggested workaround:

I’m a bit flummoxed, I’m afraid!