Fix possible nullpointer in ImportKeysFileFragment