Fix path shortener for root folders
Fix path shortener for root folders

patman15/galleryplus,owncloud/gallery,setnes/gallery,viraj96/gallery,owncloud/gallery,setnes/gallery,owncloud/galleryplus,setnes/galleryplus,imjalpreet/gallery,leftees/galleryplus,imjalpreet/gallery,leftees/galleryplus,efueger/galleryplus,tahaalibra/gallery,desaintmartin/gallery,owncloud/galleryplus,leftees/galleryplus,setnes/gallery,tahaalibra/gallery,patman15/galleryplus,viraj96/gallery,IATkachenko/gallery,patman15/galleryplus,desaintmartin/gallery,efueger/galleryplus,IATkachenko/gallery,tahaalibra/gallery,viraj96/gallery,owncloud/galleryplus,interfasys/galleryplus,setnes/galleryplus,setnes/galleryplus,owncloud/gallery,interfasys/galleryplus,desaintmartin/gallery,interfasys/galleryplus,imjalpreet/gallery,IATkachenko/gallery