FS-7866: [core] fix crash when running incorrect var api expansion syntax "eval ${${external_sip_ip}:4}"