Fix getDefaultShell fallback on unknown platform