[BUGFIX] Fixed layout detection in BE

``PageLayoutSelector`` did not have the translated paths.
``PageService`` sometimes had no last ``/``.