OPAL-2182 - Added exception mapper for git exceptions. 

Fixed some PMD errors.