rejecting promise all when everything is undefined