When trying to build swift on linux environment where Python 3 exists, and even if it's not set as default script uses Python 3 instead of Python 2.
Tested in Gentoo Linux
I don't knoe how to commit here, tried on github, but there is a read-only version of code there