GetRepoRoot: fix endless loop with "fugitive://" paths

If a buffer's path starts with 'fugitive://', GetRepoRoot would loop
endlessly.

To fix this, check if the path matches '^\w\+://' and return early.