Style.
Port a missed bugfix from TrueNAS:

Catch a case when netwait_enabled is set to empty string.

(cherry picked from commit 485566ec6fc3cf69b223961ac2b350826f7176c6)