More checks for external commands at init time

Closes #1562
Merge pull request #1566 from OCamlPro/more-init-checks

More checks for external commands at init time