functions: changed pkginstalled() to use $* instead of "$@" when generating the pattern