If the sidebar doesn't exist yet, `array_slice()` will fail on a null value
Merge pull request #1140 from wp-cli/fix-1140

Widget Add - Warning: array_slice() expects parameter 1 to be array