Prevent possible Azure error if storageEndpoint is empty

If storageEndpoint is blank, the exception is thrown the first time, but after that the earlier null check is bypassed and an empty string is returned. This results in Azure complaining, during VM launch, about a mediaLink value that is not an absolute URL.