Adding guard around deleting sqlite db

* Don't delete if node.openstack.db.image.db_type is set to sqlite

Fixes: bug #1249182
Change-Id: I5ab84df0eac6d4642476d9c19dbfdbbb473b42bf