Fix remove possible trailing slash in name of mounted state