fix a typo in condition for extra props

Thanks to Bruce Stephens:

    http://sourceforge.net/p/buildbot/mailman/message/33060812/
fix the part that depended on the typo
simplify condition
Merge pull request #1372 from sa2ajj/fix-typo

fix a typo in condition for extra props