The result of `ssh_known_hosts` changed in 8f728fb, so should the test case.
Only load the `monit` module if the required `monit` binary is found. Fixes #5871.

Double to single quotes.
Typo.
Fixing branch check and removing unused import