Fix Promise.join of empty list