Check for None Type

Signed-off-by: George Sibble <gsibble@gmail.com>