Locates Twig templates using a Puli resource locator.