0d0a2b9657
If repodir is given as a relative path, it will not work because it will try to open the dir relative to itself because it already chdir()ed into repodir. This fixes xbps-rindex -r when relative paths are specified. fixes #519