Adding try/except to turning vlan interface on during vlan interface creation. This should avoid failed vlan interface creation on interfaces not plugged in.