Puppet does not like in [] within if statement. Fixes #524