preventive check for share and minor output improvement to lstree