Delete database only if present
Better check for database existence

Issuing a HEAD request to the database name returns some data about the
database, or issues a 404 if the database does not exist