make Python external hook script work for cache hits too.
make Python external hook script work for cache hits too.

ehealthafrica-ci/couchdb-lucene,rnewson/couchdb-lucene,eHealthAfrica/couchdb-lucene,eHealthAfrica/couchdb-lucene,eHealthAfrica/couchdb-lucene,ehealthafrica-ci/couchdb-lucene,rnewson/couchdb-lucene,ehealthafrica-ci/couchdb-lucene,rnewson/couchdb-lucene