psexec_command - Unable to execute specified command: can't convert nil ...

...into Integer

Patched as described in Redmine bug #7680
https://dev.metasploit.com/redmine/issues/7680