Build list of volumes more defensively to avoid crash
If a volume was mounted on macOS but inaccessible by the current user, a crash would occur when listing the mounted volumes. Add guards to try to prevent the crash.
If a volume was mounted on macOS but inaccessible by the current user, a crash would occur when listing the mounted volumes. Add guards to try to prevent the crash.