lib/repo.c: CID 62671 (unchecked return value)