guard created values from being optimized out (bnc#895964)

Wrong again. `client_path` is USED by the `rb_funcall` so the guard must be declared AFTER it. Same with `wfm_module`.