Address issue for deprecated syntax

Change-Id: Ib81b1d1e133607e00c2de834db4451e3e175123d
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/code_update_utils.robot b/lib/code_update_utils.robot
index 73c654a..ca71456 100644
--- a/lib/code_update_utils.robot
+++ b/lib/code_update_utils.robot
@@ -231,7 +231,7 @@
     # Verify the image is 'READY' to be activated or if it's already active,
     # set priority to 0 and reboot the BMC.
     ${software_state}=  Read Properties  ${SOFTWARE_VERSION_URI}${version_id}
-    ${activation}=  Set Variable  &{software_state}[Activation]
+    ${activation}=  Set Variable  ${software_state}[Activation]
 
     Run Keyword If
     ...  '${skip_if_active}' == 'true' and '${activation}' == '${ACTIVE}'