But I thought it was ok for it to be said by a cast member during rehearsal and the last line of the play does not include the name Macbeth?
.....and never OK to say "MacBeth".
Just theatre superstitions.