Fix getting repository name process of "browse" sub command