When trying to connect to a given database libecpg should not try using an empty hostname if no hostname was given.