Fix python2 isinstance(x, str) check in PyQuery.__call__