Fix for 2028 - check for current subscription before accessing it

Fixes regression around not allowing AZURE_STORAGE_CONNECTION_STRING variable without a subscription.