remove dependency on lab.config

[#57200194]