Fix findbugs null pointer exception warnings

The @CheckForNull annotation clarified some of the places where a null
pointer check is a useful check.  This resolves those warnings
Merge branch 'proto-findbugs-fix-NPE-warnings' into master-work

Conflicts:
	src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java