Fix fatal in LocalRepo::findFiles()

Bug: 58587
Change-Id: I12513b40453573124e838d54a72a2f9a2d3de338
Merge "Fix fatal in LocalRepo::findFiles()"