Correct err check
Created by: daxmc99
This fixes an error check that would return if the err was nil.
Fixes frontend | ERROR failed to determine how out of date Sourcegraph is, error: <nil>
Part of https://github.com/sourcegraph/sourcegraph/issues/9708