Ensure environment is set in tasklib.django