fix bug 52324: do not try to remap mime types for redirects or other types, which do not have a mime type