Throw GitLockFailedException on repository lock failure

Refs #17, #31
Merge pull request #43 from mshibuya/feature-checkout-lock-failure

Throw GitLockFailedException on repository lock failure