librepo: corrupted double-linked list