Fix issues with cookbook and LWRP images.