Prevent blank database names

Prevent issue https://github.com/influxdb/influxdb/issues/812 from re-occurring.
`err` is going to be nil anyway. Errors in post are network related errors not server side errors.