Fix remove possible trailing slash in name of mounted state
Merge pull request #7838 from ekatsah/fix-trail-slash

Fix remove possible trailing slash in name of mounted state