On that topic, this is a very common misconception about how that proof works. Multiplying all the primes and adding one does not have to be a prime (just try 2 x 3 x … x 13 + 1) - the point is it’s not divisible by any of the supposedly finite number of primes, so it must have some other prime divisor.
Your original proof is correct. Yes the number may not actually be prime, but given the assumption that you have finitely many primes it follows that the number you have constructed is prime, since it has no divisors.
2 x 3 x … x 13 + 1 isn't prime but that's because that's just a subset of the primes, not all of them. And the argument relies on using all of them.