Fix the issue of throw null exception when the content type doest not exist in the remote site.
Fixed issue when the module.config do not have uninstall template setting.
Fixed the site device matching issue.