Test if config specifies a zone before using it

Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>