archiveUpload did not handle absolute paths correctly. Fix it by using the basename and ensure that uploads can be tested using -n.