fix error in repo_browser

 - added functional test to check this issue