fix yast_i's usage of $pkgname variable