Dependencies: derefPkg raise error if null repoquery
PackageUtils: tarball in cwd for git dir (pkg git); add isGitDir