[shogun/epel7] fix bad %%if-condition in line 327 on RHEL