Fix problems with unquoted image names.