Fixes a bug when trying to copy something from a within container to the root