Fixed unhandled exception when checking filesystem options
Check if file system share path is a directory