search: restore clear error for empty remote URL
main·
Commit

Trim the remote URL once up front and reject an empty value explicitly, restoring the "empty remote URL" message that delegating to gitremote.ParseURL had replaced with "no protocol in URL: ://". Using the trimmed value also keeps the redacted URL in the extra-segments error consistent with what was parsed.
Entire-Checkpoint: 2e5d8b2d92fb
Checkpoints
Checkpoint 1