gitserver: simplify logic in getPinnedRepoAddr function
Created by: sashaostrikov
Just a small non-functional change as per review comment in https://github.com/sourcegraph/sourcegraph/pull/32971
Test plan
n/a
Created by: sashaostrikov
Just a small non-functional change as per review comment in https://github.com/sourcegraph/sourcegraph/pull/32971
n/a