fixes #8278 - update foreman-prepare-realm for freeipa 4

Yeah, I know this is /bin/bash, but a single "=" is POSIX compatible, "==" is a bash-ism.  I'll get my coat...