Fix null pointer exception for tasker initiated exports