fix pythonpath issue for celery
catch exception if tag refs are no commit object