[Core] Fixes: ConfigHeadscript Service Factory uses wrong instance.