[Bug 49118] New: env.c:get_image_path() de-reference null pointer