BHV-4135: Make webOS platform check stricter and more consistent.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>