Allow modifying an existing image's os_type through vdc-manage. Also added a missing nilcheck for architecture