fix path reconstruction for reshares

if you share a folder and than try to reshare it the path wasn't constructed correctly which lead to missing share keys. This patch should fix it