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

I think you need to have

   if [ "$PERMISSION_SYSTEM" == "v1" ]; then