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

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