Update remote-related tasks
Make compatible with Swi 7.1.16+ (get_dict_ex removed)