Fixed bug in moving/copying public repo