Fixed incorrect checking of props when props['precommit'] is not set.
Merge pull request #88 from charl/master

Fixed checking of props when props['precommit'] is not set.