fix py3 syntax error in riak cache
do not init logging when autoconf is running inside the tests