[commander] Catch general exception for monitoring
[commander] Fix rollback importer
[commander] Fix writing string without encoding
[git] Gracefully handle monitor creation failure