[TIMOB-17069] Fixed bug where devices info was being validated when build-only was being set when it shouldn't.
Merge pull request #5777 from cb1kenobi/timob-17069

[TIMOB-17069] Fixed bug where devices info was being validated when buil...