Fix regression which broke local-path code completion of includes.

The regression was introduced in 6ac597c5e862b9891665025375a5feb,
where the is-local check was moved to a place, at which point
the line was stripped so much we cannot decide whether it was/is
a local include or not.

BUG: 329425