Change JGit.isBareRepository implementation to pass more tests

Allow the passing tests to execute on JGit

Some of the tests continue to fail and need further investigation.
Merge branch 'master-assess-isBareRepository' into master-work

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