Note that we say the music "appears to be in the key of e minor." Because there is not much use of the scale's third note, it's hard to determine whether we are in the key of E major or e minor. But because of the use of the note G in bar 2 of the melody, we tip the scale to the key of e minor.