[stable22] fix shared mount roots not being returned from getSharesInFolder
#31924
+14
−1
getSharesInFolder
#31924