Fix sonatype publish script.