[BUGFIX] Fixed layout detection in BE
Merge pull request #98 from hmspl/template_path_service

[BUGFIX] Fixed layout detection in BE