[TIMOB-11869] Fixed bug where default platform option handling was in the wrong else block.