I can confirm that ballanux' fix solves my problem. Thx!!
Eagerly anticipating a more elegant and durable fix.
edit: Problem permanently fixed: https://github.com/RetroPie/RetroPie-Setup/issues/1767
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.