Remove caching of Repository#has_visible_content?
This MR removes the caching of Repository#has_visible_content?
. The cache for this method is no longer necessary and this should solve the problem described in https://gitlab.com/gitlab-org/gitlab-ce/issues/25278.