These solutions merely hide those themes, but they do not stop them from downloading as the original poster requested.
There is a PR on github to address this
The solution there is similar to this one, but more targeted:
https://discourse.roots.io/t/setup-bedrock-without-installing-twentyten-twentynineteen-themes/16704
There are a couple of related issues on Github