Fixed serialization error for install_course task.