Fixed empty repo push/fetch issues