xbps-query: fix segfault when listing unexistent package files.