fix to code that checks for local device nodes (to filter out smb shares)