wrapped uploadArchives task in a check to see if the m2 settings file is available