More disturbing: what ensures you that `product_model` is defined at this point? The whole fallback should be part of the `.onsuccess` callback, imho.