Make multierror type check more robust
Created by: mrnugget
Noticed this while fixing the issue on the other side in src-cli https://github.com/sourcegraph/src-cli/pull/620
Created by: mrnugget
Noticed this while fixing the issue on the other side in src-cli https://github.com/sourcegraph/src-cli/pull/620