Making the type and null check for os_version optional according to import image_type
Merge pull request #309 from manalilatkar/os_distro_optional

Making the type and null check for os_version optional according to import image_type