Updating package names in SmartOS, and trying to check for packages already installed without before requiring sudo