in src/main/java/org/apache/sling/feature/launcher/impl/VariableSubstitutor.java [25:38]
public VariableSubstitutor(LauncherRunContext context) {
super(new StringLookup() {
@Override
public String lookup(final String key) {
// Normally if a variable cannot be found, StrSubstitutor will
// leave the raw variable in place. We need to replace it with
// nothing in that case.
final String value = context.getFrameworkProperties().get(key);
return value == null ? "" : value;
}
});
setEnableSubstitutionInVariables(true);
}