use private ip, otherwise fall back to hostname
Merge branch 'master' of github.com:KristianOellegaard/dokku-controller-agent