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

...d-only was being set when it shouldn't.