Fix for CELERY_ALWAYS_EAGER setting.