Remove unsed private key path in pipeline, allow None for progressbar