Check for sonatype credentials - #2

Uploading the archives to Sonatype's OSS
repo requires the credentials. If there are
no credentials available, the upload
configuration will be skipped at all.