Cleanly aborting export if no model available.