Added SCMListener.onCheckout.
Also fixed compilation error from previous change.