Return [] instead of null by making the initial value an empty slice literal opposed to nil. Closes: #3705