Maybe you would like to print the rhost-rport prefix only if rhost is set to avoid messages like this one, when RHOST isn't set:

```
msf exploit(ms08_067_netapi) > check
[-] :445 - Exploit check failed: Msf::OptionValidateError The following options failed to validate: RHOST.
```