Coverity: attempt to quieten null-deref whines about stringhandling