Check if consumables exist before adding

Fix #1685