Fixing loggin message on profile delete

Change-Id: Id6cf505666404285cf3b645a1db7501b778b7937
diff --git a/xos/synchronizer/steps/sync_progranserviceinstance_back.py b/xos/synchronizer/steps/sync_progranserviceinstance_back.py
index 3c94b34..acb8f6e 100644
--- a/xos/synchronizer/steps/sync_progranserviceinstance_back.py
+++ b/xos/synchronizer/steps/sync_progranserviceinstance_back.py
@@ -183,5 +183,5 @@
                     # don't delete if the profile has been created by XOS and it hasn't been sync'ed yet
                     continue
                 # TODO delete also the associated Handover
-                log.debug("Profiles %s have been removed in progran, removing it from XOS" % str(p.name))
+                log.debug("Profiles %s have been removed in progran, removing it from XOS" % str(p))
                 si.delete()