Fixes javiplx/jenkins-gitlab-hook-plugin#2 : prepare scm block before actually creating the new job
Capture exception on newer git plugin versions
Fixes javiplx/jenkins-gitlab-hook-plugin#1 : handle project creation under git 2.x plugin
Merge pull request #5 from javiplx/git_2x_support

Support for 2.x git plugin