Fix image chart edit action when custom attributes are non-existant.
Fix image chart edit action when custom attributes are non-existant.

Change-Id: Ibfaba869e353ae2cb8888d04090fec9f162364e3

Linaro/lava-server,Linaro/lava-server,Linaro/lava-server,Linaro/lava-server