Corrected error in clntpkg logic