Make 'directory' parameter optional to workaroud supervisord bug