Fixes 'celery inspect conf' and objgraph commands