less hacky: only populate image id/OS if image is non-null