yes, I get the following error with the double:

[root@bkearney ~]# ./foo 
invalid interpolation syntax in '%%(ca_cert_dir)scandlepin-local.pem' at position 0