Fixed bug with remote repos