update: avoid useless (and wrong) cast
pkgfile.1: fix description of -R, --repo
bash-completion: rewrite completion
avoid crash on glob/regex filter with single repo