search: normalize empty string as HEAD when indexing
Created by: keegancsmith
I noticed in some logs that we are indexing in zoekt both HEAD and "", which resolve to the same commit. This does not cause any issues, it is just suboptimal. This ensures that we never index "", since we already always index HEAD.