xbps-rindex(8): fix crash in -r when a pkg cannot be removed.