Handling failed gitpuller lifecycleHooks

@LeBoss What version of nbgitpuller are you using? There’s a bug in the latest release: Execution of gitpuller in shell throws KeyError: 'branch' version tag 0.10.0 · Issue #184 · jupyterhub/nbgitpuller · GitHub