[storekit] fix bug #12726 by adding a null check

but i think the underlying problem is app store setup or provisioning
profiles