Correct logic error, the if condition produces KeyError instead
of verifying if signal is in valid_signals dictionary.

	modified:   tomcat.py
Merge pull request #3936 from russellballestrini/develop

Correct logic error, the if condition produces KeyError instead