Fixed install errmsg when an uninstall command is missing

Closes #1658
Merge pull request #1724 from OCamlPro/fix-bad-errmsg

Fixed install errmsg when an uninstall command is missing