Revert "bugzid 3281: fixed os type when creating images"

This reverts commit 4d706fa04da0062fcf86686b1b85c276990da9de.