intelliGit.py code refactoring to watchout for None values during csv output