cobbler_sync.py ip connect fix

Obtain connection ip address from /etc/cobbler/settings and fall back to localhost if not found.