Fix calculating the default layout name
Merge pull request #419 from akeeba/feature/fix-layout

Fix calculating the default layout name