Clear repo search input after adding a repository.

 Fixes #580