KitNode ctor is called with Kit *k=0 by design

Check k before using it.

Change-Id: Ic240b7a60b0d2b89e209a795525097cd99c9518a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>