Update DataCollector/TwigDataCollector.php

made `getTemplates()` more defensive
Merge remote-tracking branch 'origin/patch-1'