Fix build error in DataProviderManager

Check deref result to see if it's 0, this fixes a build error on Mer.