Fix sonatype build for snapshots