Update validate.py

Syntax error in add requirements conditional.

Sets don't need to be instantiated with empty lists.
Merge pull request #1 from feanil/master

Bug in validate.py