Fix the crash in the strncmp when command returns no matching key as temp_zone is NULL