NB: This check is new (wasn't in last version of this branch).

archiving a previously restored workunit could end up trying to copy from/to same location - and under Linux succeed!
It then went on to remove the dllentry which pointed to the sole copy of the query dll which was now in the archive directory structure.