Fixes #5701 - fixed DHCP validation when OS was not set