Removes layout name subdirectory as this is choosen by the application