Set default task to [] in case it hasn't already been set.