Fix findbugs NPE warning in CliGitAPIImpl
Merge branch 'master-fix-findbugs-NPE-one-more' into master-work