shell: Perform wl_list_init() after wl_list_remove()