Avoid double-printing with setup and init_ui

Kind of a hack for rapid7/metasploit-framework#3428 but avoids an unsightly double print of an error.