Safety catch for nil commits