This fixes the crash when `post-checkout-command` option for `source-repository-package` returns an exit status 0.