Remove the directory if it is located in /tmp

def remove_tmp_dir(self, directory):
        """
        Remove the directory if it is located in /tmp
        """
        if(not directory.startswith('/tmp/')):
            print('Directory not in /tmp')
            exit()

        print('Deleting directory: ' + directory)

        shutil.rmtree(directory)