Fix snippets relative path

This is a starter patch. I should have added an integration test in #62