Prevent a QString from being created and destroyed every time we call PackageKitResource::state
mentioned in commit 2d5eb083