The solution however is pretty straight forward. You just need to login to the server and then remove the cached-copy folder. For the sake of it, start out by just changing name, and if it works to deploy remove it

On the server:

mv /var/www/shared/cached-copy /var/www/shared/cached-copy-backup/

Run deploy from dev machine and if it works you just delete the folder from the server