FIX: version discovery didn't handle stderr