Delete 'links' only if it is present
Delete 'links' only if it is present

This was uncovered during some mock testing where 'links' was not
always present.

Change-Id: I72c6ce9414394b1999c2925665c5bd74713d2d7f

bigfootproject/sahara,crobby/sahara,esikachev/sahara-backup,esikachev/scenario,zhujzhuo/Sahara,citrix-openstack-build/sahara,tellesnobrega/storm_plugin,redhat-openstack/sahara,keedio/sahara,bigfootproject/sahara,zhangjunli177/sahara,mapr/sahara,openstack/sahara,matips/iosr-2015,matips/iosr-2015,esikachev/scenario,ekasitk/sahara,zhujzhuo/Sahara,henaras/sahara,henaras/sahara,tellesnobrega/sahara,redhat-openstack/sahara,citrix-openstack-build/sahara,mapr/sahara,matips/iosr-2015,zhangjunli177/sahara,mapr/sahara,egafford/sahara,xme1226/sahara,ekasitk/sahara,keedio/sahara,tellesnobrega/sahara,esikachev/sahara-backup,openstack/sahara,zhangjunli177/sahara,bigfootproject/sahara,keedio/sahara,crobby/sahara,redhat-openstack/sahara,esikachev/scenario,henaras/sahara,tellesnobrega/storm_plugin,esikachev/sahara-backup,ekasitk/sahara,citrix-openstack-build/sahara,crobby/sahara,zhujzhuo/Sahara,egafford/sahara,xme1226/sahara,xme1226/sahara,tellesnobrega/storm_plugin