Handle empty repositories in update script.