Allow empty MAC addresses when DHCP is disabled

Also fix an error message bug