Thanks for the workaround. As an aside, it turns out for distro in Distribution: if detectOsImpl(distro): echo distro Run
outputs two strings: Posix Linux Run The macro ouputs the first. What is the benefit of only accessing detectOsImpl through a template?