It was broken in 6e37f1dcef when the remote_src was added. Need to pass the absolute path to copy2 instead of a tuple.
6e37f1dcef