Fix visibility when referencing snippets See merge request !2101
Refactor snippets finder & dont return internal snippets for external users See merge request !2094