Added the patch from Redmine Feature #7190

https://dev.metasploit.com/redmine/issues/7190