This was always failing on macOS instead of working there... See #1635 for the original commit that introduced this issue.