Add database resource only if @database has no :driver key