scripts: only generate config from feature flag if fully match