Guard unit callback when pilot is None