KitManager: Don't call isValid in restoreCode path

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