Prefer first glob for finding mimetype, not last