fix #809: Show a more descriptive error mouting shared folders

I'm not sure if the legacy test suite is being maintained, so I don't know if I should add a test case there.