Fixed broken logic in copying config files to archive locations