fix vserver .. pkgmgmt internalize

previous code checked wrong programs and stored result to variables that
were never used