Use `Snippet#to_reference` directly
What does this MR do?
Instead of hard coding snippet reference, we could just use the existing method for that.
Why was this MR needed?
To address https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4338#note_12166325 from @DouweM
/cc @jschatz1