Null pointer exception when no securities account present during import

I get a null pointer exception when no securities account present during import. Understandable, but should be fixed in my opinion.