Detect groonga repository correctly