model/igcfile: Fixed "NoneType has no len()" bug