Cleaner connection config
Avoid adding hostname property if not explicitly set

With the oracle module it's possible to use a tns string instead of the
hostname