Update XnatUtils.py

Fixing the error and finish in the end of spider class.
Using get_interface() in the different function.