Fix genarate command in msfconsole

Thanks @Meatballs1 for spotting