carbon: use if-exists for carbon vendor

Change-Id: Ib6a5148534ee41db6ead0494d23a83a41d8a35b9