Use the result variable to decide whether to use CDN resources for VegibitTheme

(cherry picked from commit 0b50a423035739510fa3d1b438d2fec53fae0ab3)