pothos-python: fix bool() operator for ProxyType
pothos-python: fix TestPothos and its error reporting