"uname -mo" outputs "i686 GNU/Linux" on Metasploitable 2 for me, so it falls back to python.