move dirfd out of alpm_pkg_files
verify segfaults if repo doesn't exist

Conflicts:
	repoman.c