fix error in repo_browser

 - added functional test to check this issue
Merge pull request #1166 from GhiGt/repo-browser

fix error in repo_browser