nvtop: fix warning with Python 2.7

Avoid implicit conversion of ElementTree object to bool, fixing the following
warning with Python 2.7:

nvtop:45: FutureWarning: The behavior of this method will change in future
versions.  Use specific 'len(elem)' or 'elem is not None' test instead.