fix check_emperor issue while using docker_plugin without docker_socket