sheepdog: Fix error handling in sd_snapshot_delete()