(MODULES-1582) Improve % detection

Avoids any validate commands that have %'s in them other than "... % ..."