Fix customizer error in new installations

check if sidebars are set before outputting CSS in customizer