Improve local source finding for RTC cases.

By preferring exact matches of (non-empty) line text first and
foremost.

Closes #30.