rapid7/metasploit-framework — pull request #3253 by agix (2014-04-14 09:24:46+00:00)
Title: Fix little bug when using msfencode and exe-only

Using msfencode, when arch is not defined, arch is null so it crashs.
It should be 'x86' by default.