KNIFE-212 only check .os if we are givin a valid image