[ALOY-1047] Compile error when there is no assets folder under widget and themed widget directory

Fixed compilation error.