misc: Fix NPE on ion import.