Fixed path issues prior to archive deletion