Fix updating a fresh repository.
Support hidden repositories and hide them when first created.