Follow-up to #16315: fixed an issue in ext_conf_template wtih mod menu