Modify core skylight controller to trim trailing dot (root DNS) from hostname, which breaks config if present.