tests: Add back isinstance() check to pytest_assertrepr_compare()
tests: Add back isinstance() check to pytest_assertrepr_compare()

Turns out that the added typing was wrong, not the isinstance()
check so add back the isinstance() check and change the type to Any
instead.

systemd/mkosi,systemd/mkosi