Fixed a bug with celery ping

We were using the wrong API. This fixes the break in https://ci.openquake.org/job/master_oq-engine/922/