[gui] don't show the 'remote path not found' message on directory failure unless it's a share. closes #15091, #15133.