Re-enable ref operations with gitaly after not-found fix

Merged username-removed-367626 requested to merge ee-fix-gitaly-not-found into master

EE counterpart of gitlab-ce!10773