Redmine 6327 - Interpret failing function calls in ifvarclass/if/unless as class not set

It'd be more readable (and easier to extend later) to use or and list the classes on the right one per line.