Workaround failure of pilot callback when pilot == None