sos: fixing backport issues

fixing some bits left while backporting from sos 3.

Change-Id: I2ec54434502a6774da8f2bdf7e87d76df89a4fed
Bug-Url: https://bugzilla.redhat.com/1128839
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>