Use null check instead.
Only conditionally run uploadArchives.
Merge branch 'master' into stable

* master:
  Only conditionally run uploadArchives.
  Use null check instead.