Fix missing removed icon.
Add all paths to the database when first adding a repository.