The following project
produces the error
because mybuildconfig is indeed not loaded, because the module loader bails out as soon as does.not.exist cannot be loaded.
Reordering the Depends items fixes the problem.
This is especially harmful in cases where inheritance is involved, because that makes it hard to control the order of Depends items.