Fix logic of `_use_legacy_build(slot)`
We didn't realize the flaw in !150 (merged): we want to use the new system if a slot is explicitly selected for the new system or the flavour is testing, but the logic of the function is inversed so it translate to "we want to use the old system if not selected and not testing".