JENKINS-20531

A fix for https://issues.jenkins-ci.org/browse/JENKINS-20531

Catches the GitException and throws an AbortException instead, using the same pattern as 10 lines above.
Why not simply

    } catch (GitException ex) {
        throw new AbortException(ex);

?