Fixed issues with tool.py argparsing and communication
with generate_report.

Fixed issue with git diff returning None instead of 0 for
non-error exit status.