yes @kobliha is right. It is Yast::FileUtils that respect SCR switching.
@mchf Reason is that if installation do not create it, then it still be possible to propose value. It looks like some kind of chicked egg problem that I hope @mvidner solve differently.
Currently this is more work-around to not yet finished feature to not show red popup with internal error.