fixing nullpointer exception in northbound for bad input.

Signed-off-by: Vina Ermagan <vermagan@cisco.com>