Cleaner handling of git-like plugins

Use exec rather than Sys.command then exit
Merge pull request #1255 from OCamlPro/git-plugins

Cleaner handling of git-like plugins