gitlab-ci: Skip upload jobs if credentials are not defined
The $VAR == ""
matches only when the variable is actually defined but
it is empty, which is not what we wanted here. Use $VAR == null
to
detect when the variables storing the upload credentials are not defined
and skip the upload jobs accordingly.