In some case the generated sling configuration files is wrong.
To reproduce the bug:
prepare a handelbar template
define only the configuration "foo" in the environment and "bar" not.
Expectation: a sling configuration file is generated:
Actual: 2 configuration files are generated.
com.example.ServiceConfiguration.config (the file is empty)
foo="foo".config (the file is empty)