Fixed templates config in AbstractResourceExtension

Fixes https://github.com/Sylius/Sylius/issues/1211