Quasimodular forms that detect primes are Eisenstein