bin/xbps-rindex/index-add.c: fix CID 62685 correctly.