[PATCH 1/2] Fixes segfault when removing Nokia Datacard.