dev/sg: fix interactive setup, simplify 1pass check
Created by: bobheadxi
Applies review comments from https://github.com/sourcegraph/sourcegraph/pull/36335
Created by: bobheadxi
Applies review comments from https://github.com/sourcegraph/sourcegraph/pull/36335