xbps_repo_open: do not create repodata file in locked mode.

... we want a proper errno value (ENOENT) if the archive does not exist.