```
if (package_manager_get_package_info(package, &package_info) 
    != PACKAGE_MANAGER_ERROR_NONE) {
```