only adding .local on hostname if it's not already there
Merge pull request #7 from CristiScheye/master

only adding .local on hostname if it's not already there