devtools: fix build test config inheritance from env