Add one more check for disk erasing

Change-Id: I2f99f05edf10c4325f89dd3feb517cdc08d2e745
Closes-Bug: #1351473
Merge "Add one more check for disk erasing"