MULE-7655 Eliminate use of System.getProperty during message processing

normally i'd told you to use a ternary operator but I'm feeling permissive today :)