Fixed a bug with generating the SDDOS image

Change-Id: I52a9c872c80c8f96636d49517f9f2b2f2ee1f3d1
V7Beta2 Additions

Change-Id: Ic5f931839dc3c9d975a3daf3523e1794b349885c