Allow public repo searching

This PR fixes this issue: https://github.com/gitlabhq/gitlabhq/issues/5349