xbps-rindex: clean: fix a regression introduced yesterday (use-after-free).