bugfix: Don't try to export if a root geometry wasn't created