rapid7/metasploit-framework — pull request #3757 by dmaloney-r7 (2014-09-05 21:08:15+00:00)
Title: turn nil publics and privates into blanks

don't pass nil into the credential object, pass an empty string instead
this is the expected behaviour and avoids stack traces

see ticket for verification steps