Unify hostname to localhost