nethserver-base-initialize-db: fix behavior when dhcp is enabled (unattended install). Refs #2582