Fix #30 (segment fault in xbps-rindex)