rapid7/metasploit-framework — pull request #1142 by jlee-r7 (2012-12-07 18:48:42+00:00)
Title: Move print of my_target.name to after nil check

Avoids
"Exception handling request: undefined method `name' for nil:NilClass"
when we don't have a target for the connecting browser.

[FixRM #7593]