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

Some machines have '.local' appended while others don't. Preview breaks on port 4001 for some machines w/o this.