Made sure that uploads with an undetectable type don't cause stack
traces.