fix: forward ospkg detector options through ospkg.NewScanner (#10811)